package com.bub.pay.framework.redis;

public enum RedisKeyPrefix
{
    COMMON("COMMON"), 
    DATACODE("DATACODE"), 
    USER("USER"), 
    ROLE("ROLE"), 
    RESOURECE("RESOURECE"), 
    BUSINESS("BUSINESS"),
    ORDER("ORDER"),
    ORDERTOSUCCESS("ORDERTOSUCCESS"),
    OTHER("OTHER"), 
    DICT("DICT"), 
    CACHE("CACHE"),
    LOCK("LOCK"),
    PERMISSION("permission"),
    CONFIG("CONFIG"),
	CHANNEL("CHANNEL"),
	EMAILCODE("EMAILCODE");
    private final String prefix;
    
    private RedisKeyPrefix(final String prefix) {
        this.prefix = prefix;
    }
    
    public String getKeyPrefix() {
        return this.prefix;
    }
}
